
public class Cylinder {
	private double height;
	private double circle;
	private double r;
	private double l;
	
	public Cylinder(double height,double circle){
		super();
		this.height=height;
		this.circle=circle;
		this.r=r;
		this.l=l;
		
	}
	public double getVolume1() {
		return getVolume1(circle,height);
	}
	public double getVolume2() {
		return getVolume2(circle,height,r,l);
	}
	public static double getVolume1(double height,double circle) {
		return circle*height*1/3;
	}
	public static double getVolume2(double height,double circle,double l,double r) {
		return circle+3.14*r*l;
	}
	public double getCircle() {
		return circle;
	}
    public void setCircle(float circle) {
    	this.circle=circle;
	}
    public double getR() {
		return r;
	}
    public void setR(float r) {
    	this.r=r;
	}
    public double getL() {
		return l;
	}
    public void setL(float l) {
    	this.l=l;
	}
	public double getHeight() {
		return height;
	}
	public void setHeight(float height) {
	    this.height=height;
	}
	public static void main(String[] args) {
		new Cone().C();
	}

}
